home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / jam / jamdisk4 / arpuserdocs3.1 / read < prev    next >
Text File  |  1995-03-18  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4.      Read(V1.3)              ARP User's Manual              Read(V1.3)
  5.  
  6.  
  7.  
  8.      NAME
  9.           Read - Read input and parse.
  10.  
  11.      SYNOPSIS
  12.           Read Variables/...
  13.  
  14.      DESCRIPTION
  15.           Read accepts input from its standard input.  It takes as
  16.           arguments a list of one or more environment variables into
  17.           which it will place the parsed input.
  18.  
  19.           Read chops the input up on whitespace and/or double quotes,
  20.           depending on the user's input, placing the first argument in
  21.           the first environment variable you supply, the second in the
  22.           second and so on.  The final environment variable supplied
  23.           gets the rest of the input string. If only one variable is
  24.           supplied, it gets all the input.
  25.  
  26.           Read may be used to good effect in pipelines (see the Ash
  27.           Manual for more information on pipes and several good
  28.           examples using Read).
  29.  
  30.      EXAMPLE
  31.           Read First Last
  32.           S D B
  33.           First will contain 'S', while last will contain 'D B'.
  34.  
  35.           Read First Last
  36.           "S D B"
  37.           First will contain '"S D B"' while last will be empty.
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/28/89)
  64.  
  65.  
  66.  
  67.